/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pig.mt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

/**
 * 自动回复规则
 *
 * @author JLM
 * @date 2021-03-05 11:45:09
 */
@Data
@TableName("wx_msg_reply_rule")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "自动回复规则")
public class WxMsgReplyRule extends Model<WxMsgReplyRule> implements Serializable {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_UUID)

    @ApiModelProperty(value="")
    private String ruleId;
    /**
     * appid
     */
    @ApiModelProperty(value="appid")
    private String appid;
    /**
     * 规则名称0
     */
    @ApiModelProperty(value="规则名称")
    private String ruleName;
    /**
     * 匹配的关键词、事件等
     */
    @ApiModelProperty(value="匹配的关键词、事件等")
    private String matchValue;
    /**
     * 是否精确匹配
     */
    @ApiModelProperty(value="是否精确匹配")
    private Boolean exactMatch;
    /**
     * 回复消息类型
     */
    @ApiModelProperty(value="回复消息类型")
    private String replyType;
    /**
     * 回复消息内容
     */
    @ApiModelProperty(value="回复消息内容")
    private String replyContent;
    /**
     * 规则是否有效
     */
    @ApiModelProperty(value="规则是否有效")
    private Integer status;
    /**
     * 备注说明
     */
    @ApiModelProperty(value="备注说明")
    private String desc;
    /**
     * 生效起始时间
     */
    @ApiModelProperty(value="生效起始时间")
    private Time effectTimeStart;
    /**
     * 生效结束时间
     */
    @ApiModelProperty(value="生效结束时间")
    private Time effectTimeEnd;
    /**
     * 规则优先级
     */
    @ApiModelProperty(value="规则优先级")
    private Integer priority;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
    }
